package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *@ClassName: ProviderController
 *@Author: Administrator
 *@Date: 2020-10-19 21:25
 */
@Controller
public class ProviderController {

    @ResponseBody
    @RequestMapping(path = "/hello", method = RequestMethod.GET)
    public String hello() {
        return "你好，Sentinel";
    }
}
